package com.bs.demo.feign;

//import com.bs.config.FeignConfiguration;

import com.bs.common.utils.Result;
import com.bs.demo.config.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author bingshao
 * @date 2022/9/21
 **/
@FeignClient(value = "bs-auth", configuration = FeignConfiguration.class)
public interface AuthFeign {

    @GetMapping(value = "/test/test")
    void test();

    @GetMapping("/test/testA")
    Result<Integer> testA();
}
